package cn.wolfcode.car.business.domain;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
public class StockBillItem {
    public static final boolean STOCK_BILL_ITEM_STATE_NORMAL = false;
    public static final boolean STOCK_BILL_ITEM_STATE_CANCEL = true;

    /** */
    private Long id;

    /** 物品id*/
    private Goods good;
    private Long goodsId;

    /** 数量*/
    private Integer amounts;

    /** 单价*/
    private BigDecimal price;

    /** 单据id*/
    private Long billId;

    /** 0 正常, -1 作废*/
    private Boolean state = STOCK_BILL_ITEM_STATE_NORMAL;

}